{include file="public/header" /}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.css"}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.js"}
<style>
  .layui-card-body{
    min-height: 44px;
  }
</style>
<body>
<div class="layui-bg-gray" style="padding: 16px;">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12 layui-col-sm12">
      <div class="layui-card">
        <div class="layui-card-header">标题</div>
        <div class="layui-card-body">
          {$data.title}
        </div>
      </div>
    </div>
    <div class="layui-col-md12 layui-col-sm12">
      <div class="layui-card">
        <div class="layui-card-header">内容</div>
        <div class="layui-card-body">
          {$data.content}
        </div>
      </div>
    </div>
    <div class="layui-col-md6 layui-col-sm3">
      <div class="layui-card">
        <div class="layui-card-header">年龄区间</div>
        <div class="layui-card-body">
          {$data.agemin} - {$data.agemax}
        </div>
      </div>
    </div>
    <div class="layui-col-md6 layui-col-sm3">
      <div class="layui-card">
        <div class="layui-card-header">身高区间</div>
        <div class="layui-card-body">
          {$data.heightmin} - {$data.heightmax}
        </div>
      </div>
    </div>
    <div class="layui-col-md6 layui-col-sm3">
      <div class="layui-card">
        <div class="layui-card-header">地区要求</div>
        <div class="layui-card-body">
          {$data.province}{$data.city}
        </div>
      </div>
    </div>
    <div class="layui-col-md6 layui-col-sm3">
      <div class="layui-card">
        <div class="layui-card-header">学历要求</div>
        <div class="layui-card-body">
          {$data.education}
        </div>
      </div>
    </div>
    <div class="layui-col-md12 layui-col-sm12">
      <div class="layui-card">
        <div class="layui-card-header">图片</div>
        <div class="layui-card-body">
            {volist name="$data.images" id="img"}
            <a href="{:strpos($img, 'http')===false?'__ROOT__':''}{$img}" target="_blank">
                <img style="width:150px;height:150px;" src="{:strpos($img, 'http')===false?'__ROOT__':''}{$img}"/>
            </a>
            {/volist}
        </div>
      </div>
    </div>
    <div class="layui-col-md6 layui-col-sm6">
      <div class="layui-card">
        <div class="layui-card-header">时间</div>
        <div class="layui-card-body">
          创建时间：{:date('Y-m-d H:i:s', $data.create_time)}<br>
          有效天数：{$data.expire_day}<br>
          失效时间：{:date('Y-m-d H:i:s', $data.expire_time)}<br>
        </div>
      </div>
    </div>
    <div class="layui-col-md6 layui-col-sm6">
      <div class="layui-card">
        {php}
        $states = ['自主关闭','驳回','待审核','审核通过'];
        {/php}
        <div class="layui-card-header">审核</div>
        <div class="layui-card-body">
          审核时间：{:date('Y-m-d H:i:s', $data.audit_time)}<br>
          审核状态：{$states[$data.state + 2]}<br>
          驳回原因：{$data.reason}<br>
        </div>
      </div>
    </div>
  </div>
</div>

</body>
</html>